/**
 * Created with IntelliJ IDEA.
 * User: "Balasubramanian"
 * Date: 8/8/13
 * Time: 2:01 PM
 * To change this template use File | Settings | File Templates.
 */


/*
 -----------------------------------------------------------------------------------

 Book class defines a book
 Each book is identified uniquely by its "id"
 "name" refers to the name of the book
 "availability" tells whether the book is currently available for borrowing or not

 ------------------------------------------------------------------------------------
*/


package com.twu.biblioteca;

public class Book {

    private String id,name,availability;

    public Book(String id,String name,String availability)
    {
        this.id=id;
        this.name=name;
        this.availability=availability;
    }

    // setter methods
    public void setId(String id)
    {
        this.id=id;
    }
    public void setName(String name)
    {
        this.name=name;
    }
    public void setAvailability(String availability)
    {
        this.availability=availability;
    }

    //getter methods
    public String getId()
    {
        return id;
    }
    public String getName()
    {
        return name;
    }
    public String getAvailability()
    {
        return availability;
    }

}